package com.ushio.gougouwangguo.entity.mysql;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("materials_battle_log")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MaterialsBattleLog {
    //关联id
   @TableId("materials_battle_log_id")
   private Long materialsBattleLogId;
    //物资id
   private Integer materialsId;
    //战斗奖励id
   private Long battleLogId;
   //数量
   private Integer quantity;
    //创建时间
    @TableField("create_time")
    private Date createTime;
    //修改时间
    @TableField("update_time")
    private Date updateTime;
    //创建人
    @TableField("create_user")
    private Long createUser;
    //修改人
    @TableField("update_user")
    private Long updateUser;
    //是否启用1是删除0是启用
    @TableField("remove")
    private boolean remove;
}
